/*
 * @file font_internal.h
 */

#ifndef FONT_INTERNAL_H
#define FONT_INTERNAL_H

#include "gkt_types.h"
#include "gkt_screen.h"
#include "gkt_font.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef uint16_t	font_code_t;

/* font library */
typedef struct _font_lib {
	const font_code_t	*codes;
	const uint8_t	*data;
	uint32_t	code_type;
	uint32_t	size;
	uint32_t	width;
	uint32_t	count;
	uint32_t	bytes;
} font_lib_s;

#define FONT_ASCII_START	0x20
#define FONT_ASCII_END	0x7E

#define FONT_GB2312_START	0xA1A1
#define FONT_GB2312_END	0xFEFE

#ifdef __cplusplus
}
#endif

#endif	/* FONT_INTERNAL_H */

